﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class MasEducationInstituteInfo : RecordInfo
    {
        private Nullable<int> edu_ins_seq;
        private string edu_ins_code;
        private string edu_ins_name;
        private string edu_ins_eng;
        private string filter;
        private int edu_gov;
        private AddressInfo address;
        private MasDistrictInfo district;
        private MasCountryInfo country;
        private MasEducationDegreeInfo max_edu_degree_seq;

        public MasEducationInstituteInfo()
        { 
        }
        public MasEducationInstituteInfo(Nullable<int> Sequence)
        {
            this.Sequence = Sequence;
        }
        public MasEducationInstituteInfo(Nullable<int> Sequence, string Code, string Name, string NameEng, int Governments
            , AddressInfo Address, MasDistrictInfo Districts, MasCountryInfo Countries, MasEducationDegreeInfo EducationDegree, string RecordStatus
            , Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Code = Code;
            this.Name = Name;
            this.NameEng = NameEng;
            this.Governments = Governments;
            this.Address = Address;
            this.Districts = Districts;
            this.Countries = Countries;
            this.EducationDegree = EducationDegree;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public Nullable<int> Sequence
        {
            get { return edu_ins_seq; }
            set { edu_ins_seq = value; }
        }
        public string Code
        {
            get { return edu_ins_code; }
            set { edu_ins_code = value; }
        }
        public string Name
        {
            get { return edu_ins_name; }
            set { edu_ins_name = value; }
        }
        public string NameEng
        {
            get { return edu_ins_eng; }
            set { edu_ins_eng = value; }
        }
        public string strFilter
        {
            get { return filter; }
            set { filter = value; }
        }
        public int Governments
        {
            get { return edu_gov; }
            set { edu_gov = value; }
        }
        public AddressInfo Address
        {
            get { return address; }
            set { address = value; }
        }
        public MasDistrictInfo Districts
        {
            get { return district; }
            set { district = value; }
        }
        public MasCountryInfo Countries
        {
            get { return country; }
            set { country = value; }
        }
        public MasEducationDegreeInfo EducationDegree
        {
            get { return max_edu_degree_seq; }
            set { max_edu_degree_seq = value; }
        }

  //`address` varchar(255) DEFAULT NULL COMMENT 'ที่อยุ่',
  //`district_seq` int(11) unsigned DEFAULT NULL,
  //`postal_code` int(11) DEFAULT NULL COMMENT 'รหัสไปรษณีย์',
  //`tel` varchar(255) DEFAULT NULL COMMENT 'โทรศัพท์',
  //`fax` varchar(50) DEFAULT NULL COMMENT 'โทรสาร',
  //`country_seq` int(11) DEFAULT NULL COMMENT 'รหัสประเทศ',
  //`max_edu_degree_seq
    }
}
